package com.crm.miaohe.service;

import com.crm.miaohe.controller.PageResponse;
import com.crm.miaohe.controller.authentication.request.user.AuthUserQueryRequest;
import com.crm.miaohe.controller.authentication.request.user.AuthUserRequest;
import com.crm.miaohe.controller.authentication.response.user.AuthUserDetail;
import com.crm.miaohe.controller.authentication.response.user.AuthUserOverview;

public interface AuthUserService {
    PageResponse<AuthUserOverview> queryUsers(AuthUserQueryRequest request);
    void addAuthUser(AuthUserRequest params);
    AuthUserDetail currentUser(String username);
    void updatePassword(AuthUserRequest authUserRequest);
    void updateLocked(Long id);
    void deleteAuthUser(Long id);
    boolean checkPhoneNumber(AuthUserRequest authUserRequest);
}
